<?php if($this->pageCount){?>
<?php if(isset($this->previous)){?>
<a href="<?php echo $this->url(array('controller' => 'feed', 'action' => 'display', 'page' => $this->previous));?>">&lt;-Prev</a>|
<?php }
foreach($this->pagesInRange as $page){
	if($page != $this->current){
?>
<a href="<?php echo $this->url(array('controller' => 'feed', 'action' => 'display', 'page' => $page));?>"><?php echo $page; ?></a>
<?php }
	else{
		echo $page;
	}
}
	if(isset($this->next)){
?>
|<a href="<?php echo $this->url(array('controller' => 'feed', 'action' => 'display', 'page' => $this->next));?>">Next-&gt;</a>
<?php }}?>